package com.yida.wy.basic.domain;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.yida.wy.common.web.domain.BaseEntity;

/**
 * 党员基础信息 实体类。
 *
 * @author lqq
 * @since 1.0
 */
@Data
@ApiModel(value = "党员基础信息", description = "党员基础信息")
@Table(value = "wy_base_party_organization_staff")
public class WyBasePartyOrganizationStaff extends BaseEntity {

    /**
     * 党组织人员名单
     */
    @ApiModelProperty(value = "党组织人员名单")
    @Id(keyType = KeyType.Auto)
    private Long partyOrganizationStaffId;

    /**
     * 党组织ID
     */
    @ApiModelProperty(value = "党组织ID")
    @Column(value = "party_organization_id")
    private Long partyOrganizationId;

    /**
     * 人员名单
     */
    @ApiModelProperty(value = "人员名单")
    @Column(value = "staff_name")
    private String staffName;

    /**
     * 联系人电话号码
     */
    @ApiModelProperty(value = "联系人电话号码")
    @Column(value = "contact_phone")
    private String contactPhone;

    /**
     * 人员职位
     */
    @ApiModelProperty(value = "人员职位")
    @Column(value = "staff_post")
    private String staffPost;

    /**
     * 0:预备党员;1:正式党员
     */
    @ApiModelProperty(value = "0:预备党员;1:正式党员")
    @Column(value = "party_type")
    private Integer partyType;

    /**
     * 头像文件编码
     */
    @ApiModelProperty(value = "头像文件编码")
    @Column(value = "avatar_file_code")
    private String avatarFileCode;


}
